package com.muyi.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author: Administrator
 * @Date: 2018/11/20 20 13
 * @Description:
 */
@ApiModel("用户实体信息")
public class UserReq implements Serializable{

    @ApiModelProperty("用户名")
    private String name;
    @ApiModelProperty("密码")
    private String passwd;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    @Override
    public String toString() {
        return "UserReq{" +
                "name='" + name + '\'' +
                ", passwd='" + passwd + '\'' +
                '}';
    }
}
